


import static org.junit.Assert.*; 

import java.util.concurrent.locks.Lock;





import org.junit.Test;


public class CelulaTest {
	
	private int x = 1;
	private int y = 2;
	
	Coordenada c = new Coordenada (x,y);
	Celula celula = new Celula(c);


	@Test
	public void testCelula() {		
		celula = new Celula(c);
		assertNotNull(celula);		
	}

	@Test
	public void testGetCoordenada() {
		Coordenada c1 = celula.getCoordenada();
		assertEquals(c, c1);
	}

	@Test
	public void testGetLock() {
		Lock lock = celula.getLock();
		assertNotNull(lock);
	}

}
